package com.service;

import com.dao.IEmployeDao;
import com.model.Employe;

public class EmployeService implements IEmployeService {
	private IEmployeDao employe;

	public IEmployeDao getEmploye() {
		return employe;
	}

	public void setEmploye(IEmployeDao employe) {
		this.employe = employe;
	}

	public void saveEmploye(Employe e)
	{
		employe.saveEmp(e);
	}
	
	public void deleteEmp(Employe e)
	{
		employe.deleteEmp(e);
	}

	
	public void save(Employe e)
	{
		employe.save(e);
	}
	
	public void findEmpById(int id)
	{
		employe.findEmpById(id);
	}

}
